package com.gg.communication.model;

/**
 * @author sakura
 * @since 2025-06-07
 */

public class TaskState {
    private volatile boolean waitingTimeout = false;
    /**
     * 是否在队列中等待超时
     */

    private MessageType type;

    public boolean isWaitingTimeout() {
        return waitingTimeout;
    }

    public void setWaitingTimeout(boolean waitingTimeout) {
        this.waitingTimeout = waitingTimeout;
    }

    public MessageType getType() {
        return type;
    }

    public void setType(MessageType type) {
        this.type = type;
    }
}
